import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity()
export class UserPost {
    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    user_id: number;

    @Column()
    post_id: number;
}